﻿<div class="top-row pl-4 navbar navbar-dark">
    <a class="navbar-brand" href="">Liquid Technologies Modal Dialog </a>
    <button class="navbar-toggler" @onclick=@ToggleNavMenu>
        <span class="navbar-toggler-icon"></span>
    </button>
</div>

<div class=@(collapseNavMenu ? "collapse" : null) @onclick=@ToggleNavMenu>
    <ul class="nav flex-column">
        <li class="nav-item px-3">
            <NavLink class="nav-link" href="" Match="NavLinkMatch.All">
                <span class="oi oi-home" aria-hidden="true"></span> Home
            </NavLink>
            <NavLink class="nav-link" href="/custom" Match="NavLinkMatch.All">
                <span class="oi oi-eye" aria-hidden="true"></span> Styling
            </NavLink>
            <NavLink class="nav-link" href="/closebutton" Match="NavLinkMatch.All">
                <span class="oi oi-x" aria-hidden="true"></span> Close button
            </NavLink>
            <NavLink class="nav-link" href="/backgroundcancel" Match="NavLinkMatch.All">
                <span class="oi oi-browser" aria-hidden="true"></span> Background click
            </NavLink>
            <NavLink class="nav-link" href="/position" Match="NavLinkMatch.All">
                <span class="oi oi-grid-three-up" aria-hidden="true"></span> Position
            </NavLink>
            <NavLink class="nav-link" href="/messagebox" Match="NavLinkMatch.All">
                <span class="oi oi-grid-three-up" aria-hidden="true"></span> Message Boxes
            </NavLink>
            <NavLink class="nav-link" href="/datainputformdemo" Match="NavLinkMatch.All">
                <span class="oi oi-grid-three-up" aria-hidden="true"></span> Data Input Form
            </NavLink>
            <NavLink class="nav-link" href="/scrollableform" Match="NavLinkMatch.All">
                <span class="oi oi-grid-three-up" aria-hidden="true"></span> Scrollable Form
            </NavLink>
        </li>
    </ul>
</div>

@code {
    bool collapseNavMenu = true;

    void ToggleNavMenu()
    {
        collapseNavMenu = !collapseNavMenu;
    }
}
